package com.jiangjiang.eshop.commodity.convert;

import com.jiangjiang.eshop.commodity.domain.GoodsDetailEntity;
import com.jiangjiang.eshop.commodity.dto.GoodsDetailDTO;
import org.mapstruct.Mapper;

/**
 * @ClassName GoodsDetailConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/2 22:22
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface GoodsDetailConvert {

    GoodsDetailDTO convertEntity2DTO(GoodsDetailEntity entity);

    GoodsDetailEntity convertDTO2Entity(GoodsDetailDTO detailDTO);

}
